package com.tanhua.server.service;

import com.tanhua.dubbo.api.UserApi;
import com.tanhua.model.vo.HuanXinUserVo;
import com.tanhua.server.interceptor.ThreadLocalUtils;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

@Service
public class HuanXinService {




    @DubboReference
    private UserApi userApi;


    public HuanXinUserVo queryHuanXinInfo() {

        HuanXinUserVo huanXinUserVo = new HuanXinUserVo();
        huanXinUserVo.setUsername("hx"+ThreadLocalUtils.getUserId());
        huanXinUserVo.setPassword("123456");


        return huanXinUserVo;

    }
}
